﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GameFramework.Data;
using GameFramework.DataTable;

namespace TowerDefence_Zombie.Data
{
    public class TowerLevelData
    {
        private DRTowerLevel dRTowerLevel;

        public int Id
        {
            get
            {
                return dRTowerLevel.Id;
            }
        }

        public int EntityId
        {
            get
            {
                return dRTowerLevel.EntityId;
            }
        }

        public float Damage
        {
            get
            {
                return dRTowerLevel.Damage;
            }
        }

        public float FireRate
        {
            get
            {
                return dRTowerLevel.FireRate;
            }
        }

        public float Range
        {
            get
            {
                return dRTowerLevel.Range;
            }
        }

        public float SpeedDownRate
        {
            get
            {
                return dRTowerLevel.SpeedDownRate;
            }
        }

        public float ContinuousDamage
        {
            get
            {
                return dRTowerLevel.ContinuousDamage;
            }
        }

        public TowerLevelData(DRTowerLevel dRTowerLevel)
        {
            this.dRTowerLevel = dRTowerLevel;
        }
    }
}


